home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 19.zip / BS1 part 19 / pageflipper plus FX d1.adf / Text / colo < prev    next >
Text File  |  1987-05-15  |  1KB  |  36 lines

  1. COLO (
  2.   NUMB ( <color number> )
  3.   ADDR ( <amount to add to red of color number NUMB> ) and/or
  4.   ADDG ( <amount to add to green of color number NUMB> ) and/or
  5.   ADDB ( <amount to add to blue of color number NUMB> ) and/or
  6.   SUBR ( <amount to subtract from red of color NUMB> ) and/or
  7.   SUBG ( <amount to subtract from green of color NUMB> ) and/or
  8.   SUBB ( <amount to subtract from blue of color NUMB> )
  9.      )
  10.  
  11. COLO  stands for  COLOr modification.
  12.  
  13. This is a special way of modifying colors in the current
  14. palette. The COLO statement, which can be placed anywhere 
  15. within the "body" of the animation script (ie, anywhere
  16. after the initialization (INIT) section) consists of
  17. substatements which allow one to modify separate RGB
  18. components of one color by simpla addition or subtraction
  19. from a red, green, or blue value. Within a single color
  20. statement, by including several NUMBer statements, you can
  21. incrementally or decrementally modify several colors.
  22.  
  23. The power of this statement emerges when used in loops.
  24. For example, the red component can be increased by one
  25. each time through a loop.
  26.  
  27. Refer to the COLO statement in the Script Syntax reference
  28. chapter, and to the Tutorials in the Manual, for more
  29. information.
  30.  
  31. NOTE: If a color modification in the above sense would make
  32.   color component intensities go out of range (lower than 
  33.   zero or higher than 15, then PFX will only increase/
  34.   decrease the value to its limit.
  35.  
  36.